package com.xiaoshuidi.cloud.module.report.dal.DO.report;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@TableName(value = "report_owner_deposit", autoResultMap = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class ReportOwnerDepositDO {

    /**
     * 编号，数据库自增
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 账单id
     */
    private Long orderId;
    /**
     *业主姓名
     */
    private String ownerName;
    /**
     *业主手机号
     */
    private String ownerPhone;
    /**
     * 房源名称
     */
    private String houseResource;
    /**
     * 房间id
     */
    private Long roomId;
    /**
     * 资金流向
     */
    private String direction;
    /**
     * 支付方式
     */
    private String payMethod;
    /**
     * 合同周期
     */
    private String contractPeriod;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 部门id
     */
    private Long deptId;
    /**
     * 租户id
     */
    private Long tenantId;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    private LocalDateTime updateTime;
    /**
     * 是否删除
     */
    private Boolean deleted;
    /**
     * 是否处理
     */
    private Integer handleFlag;

}
